c# verify in class exist in list

60

c# verify in class exist in list -

Item wonderIfItsPresent = ...
bool containsItem = myList.Any(item => item.UniqueProperty == wonderIfItsPresent.UniqueProperty);'

Comments

Submit
0 Comments